package com.ccb.sc.live.controller.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author ken
 * @version 1.0
 * @date 2020-09-21
 */
@Data
@ApiModel("直播商品查询")
@Accessors(chain = true)
public class LiveStreamingGoodsQueryParam {

    @ApiModelProperty("直播id，必传")
    @NotNull(message = "直播id不能为空")
    private Long liveId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品分类id")
    private Long categoryId;

    @ApiModelProperty("offer分类 1买送正装 2买送同款 3买送很多 4直接减钱 5买送正能量")
    private Integer offerCategory;

    @ApiModelProperty("是否跨店满减")
    private Integer crossStoreFullReduction;

}
